net/netip.AddrPort.port (field)
7 uses
net/netip (current package)
netip.go#L1027: port uint16
netip.go#L1032: func AddrPortFrom(ip Addr, port uint16) AddrPort { return AddrPort{ip: ip, port: port} }
netip.go#L1038: func (p AddrPort) Port() uint16 { return p.port }
netip.go#L1083: ipp.port = uint16(port16)
netip.go#L1121: buf = strconv.AppendUint(buf, uint64(p.port), 10)
netip.go#L1125: return joinHostPort(p.ip.String(), itoa.Itoa(int(p.port)))
netip.go#L1162: b = strconv.AppendUint(b, uint64(p.port), 10)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |